<ng-container *ngIf="doc && api?.type !== 1">
    <app-page-api-rest
        [api]="api"
        [apiVersion]="apiVersion"
        [requestBodys]="requestBodys"
        [paramEntities]="paramEntities"
        [response]="response"
        [artifact]="doc.artifact"
        [envs]="env?.restEnvs"
    ></app-page-api-rest>
</ng-container>
<ng-container *ngIf="doc && api?.type === 1">
    <app-page-api-dubbo
        [api]="api"
        [apiVersion]="apiVersion"
        [artifact]="doc.artifact"
        [paramEntities]="paramEntities"
        [response]="response"
        [envs]="env?.dubboEnvs"
    ></app-page-api-dubbo>
</ng-container>
